package com.tingyukeji.fastpay.my.utils;

import com.tingyukeji.fastpay.entity.User;

import java.util.regex.Pattern;

/**
 * Created by Administrator on 2016/11/11.
 */

public class MyHelper {
    public static boolean ISLOGIN = false;//是否已登录
    public static User user;//登录用户缓存
    public static int REFRESH_RATE = 1;//
    public static Pattern pattern = Pattern.compile("^(?![0-9]+$)(?![a-zA-Z]+$)[0-9A-Za-z]{8,18}$");
    public static final int LOGIN_REQUEST_CODE = 1000;
    public static final int REGIST_RESULT_CODE = 1001;
    public static final int FROM_EDIT = 1;
    public static final int FROM_FORGET = 0;

    public static String BAIDUPUSH_CHANNELID = "BAIDUPUSH_CHANNELID";
}
